package com.javasm.bootcrud01.exception;


import lombok.Getter;

@Getter
public class JavasmException extends  RuntimeException{
        JavasmExceptionEnum   exceptionEnum;

        public  JavasmException(JavasmExceptionEnum  exceptionEnum){
            super(exceptionEnum.getMsg());
            this.exceptionEnum=exceptionEnum;

        }
}
